package com.lianxi.Courses.entity;

import java.util.Date;
import java.util.List;

public class Course {
    private Chapter chapter;

    public Chapter getChapter() {
        return chapter;
    }

    public void setChapter(Chapter chapter) {
        this.chapter = chapter;
    }

    private CourseType courseType01;
    private CourseType courseType02;
    private CourseType courseType03;

    public CourseType getCourseType01() {
        return courseType01;
    }

    public void setCourseType01(CourseType courseType01) {
        this.courseType01 = courseType01;
    }

    public CourseType getCourseType02() {
        return courseType02;
    }

    public void setCourseType02(CourseType courseType02) {
        this.courseType02 = courseType02;
    }

    public CourseType getCourseType03() {
        return courseType03;
    }

    public void setCourseType03(CourseType courseType03) {
        this.courseType03 = courseType03;
    }

    private List<Chapter> chapters;

    public List<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<Chapter> chapters) {
        this.chapters = chapters;
    }


    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.id
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.course_name
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private String courseName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.course_info
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private String courseInfo;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.author
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private String author;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.cover_image_url
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private String coverImageUrl;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.create_date
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private Date createDate;
    private String createStartDate;
    private String createEndDate;

    public String getCreateStartDate() {
        return createStartDate;
    }

    public void setCreateStartDate(String createStartDate) {
        this.createStartDate = createStartDate;
    }

    public String getCreateEndDate() {
        return createEndDate;
    }

    public void setCreateEndDate(String createEndDate) {
        this.createEndDate = createEndDate;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.click_number
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private Integer clickNumber;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.status
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private Integer status;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.recommendation_grade
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private Integer recommendationGrade;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_course.course_type_id
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    private Integer courseTypeId;

    private CourseType courseType;

    public CourseType getCourseType() {
        return courseType;
    }

    public void setCourseType(CourseType courseType) {
        this.courseType = courseType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.id
     *
     * @return the value of t_course.id
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.id
     *
     * @param id the value for t_course.id
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.course_name
     *
     * @return the value of t_course.course_name
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.course_name
     *
     * @param courseName the value for t_course.course_name
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName == null ? null : courseName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.course_info
     *
     * @return the value of t_course.course_info
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public String getCourseInfo() {
        return courseInfo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.course_info
     *
     * @param courseInfo the value for t_course.course_info
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setCourseInfo(String courseInfo) {
        this.courseInfo = courseInfo == null ? null : courseInfo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.author
     *
     * @return the value of t_course.author
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public String getAuthor() {
        return author;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.author
     *
     * @param author the value for t_course.author
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.cover_image_url
     *
     * @return the value of t_course.cover_image_url
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.cover_image_url
     *
     * @param coverImageUrl the value for t_course.cover_image_url
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl == null ? null : coverImageUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.create_date
     *
     * @return the value of t_course.create_date
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.create_date
     *
     * @param createDate the value for t_course.create_date
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.click_number
     *
     * @return the value of t_course.click_number
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public Integer getClickNumber() {
        return clickNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.click_number
     *
     * @param clickNumber the value for t_course.click_number
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setClickNumber(Integer clickNumber) {
        this.clickNumber = clickNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.status
     *
     * @return the value of t_course.status
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.status
     *
     * @param status the value for t_course.status
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.recommendation_grade
     *
     * @return the value of t_course.recommendation_grade
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public Integer getRecommendationGrade() {
        return recommendationGrade;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.recommendation_grade
     *
     * @param recommendationGrade the value for t_course.recommendation_grade
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setRecommendationGrade(Integer recommendationGrade) {
        this.recommendationGrade = recommendationGrade;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_course.course_type_id
     *
     * @return the value of t_course.course_type_id
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public Integer getCourseTypeId() {
        return courseTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_course.course_type_id
     *
     * @param courseTypeId the value for t_course.course_type_id
     *
     * @mbggenerated Sat Oct 11 10:30:05 CST 2025
     */
    public void setCourseTypeId(Integer courseTypeId) {
        this.courseTypeId = courseTypeId;
    }
}